﻿using TCC.Framework;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace TCC.Framework
{
    /// <summary>
    /// 状态基类
    /// </summary>
    public class StateBase
    {
        public FSMDataBase m_fsmData;

        /// <summary>
        /// 进入状态
        /// </summary>
        public virtual void OnEnterState()
        {
            
        }

        /// <summary>
        /// 持续处于状态中
        /// </summary>
        public virtual void OnStayState()
        {

        }

        /// <summary>
        /// 退出状态
        /// </summary>
        public virtual void OnExitState()
        {

        }
    }
}
